package com.itheima.info.system.manager.service;

import com.itheima.info.system.manager.domain.Teacher;

import java.util.ArrayList;

public interface IBaseTeacherService {
    //增
    void add(Teacher teacher);

    //删
    void delete(String sid);

    //改
    void updata(String sid, Teacher teacher);

    //查
    ArrayList<Teacher> findAll();

    //判断集合是否为空
    boolean isEmpty();

    //判断工号是否存在
    boolean isExist(String sid);
}
